package com.ddpt.platform.service.impl;

import com.ddpt.platform.entity.Student;
import com.ddpt.platform.mapper.StudentMapper;
import com.ddpt.platform.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StudentServiceImpl implements StudentService {
    /**
     *
     */
    @Autowired
    private StudentMapper studentMapper;

    //    @Master
    @Override
    public Student getOne() {
        return studentMapper.getOne();
    }

    @Override
    public int insert(Student member) {

        return studentMapper.insert(member);
    }


}
